
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: package rsdl</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>rsdl</strong></big></big> (version 0.4)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/lib/python2.5/site-packages/rsdl/__init__.py">/usr/lib/python2.5/site-packages/rsdl/__init__.py</a></font></td></tr></table>
    <p><tt>#&nbsp;Python&nbsp;module&nbsp;properties</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="rsdl.__init__ (another copy).html">__init__ (another copy)</a><br>
</td><td width="25%" valign=top><a href="rsdl.__init__ (copy).html">__init__ (copy)</a><br>
</td><td width="25%" valign=top><a href="rsdl.librsdlold.html">librsdlold</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="rsdl.html#Task">Task</a>
</font></dt><dt><font face="helvetica, arial"><a href="rsdl.html#TaskList">TaskList</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Task">class <strong>Task</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Class&nbsp;for&nbsp;task&nbsp;(file&nbsp;to&nbsp;download)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Task-__init__"><strong>__init__</strong></a>(self, parent, url, directLink, speed, destinationPath, group, size<font color="#909090">=None</font>, status<font color="#909090">='Idle'</font>, password<font color="#909090">=None</font>, extract<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="Task-download"><strong>download</strong></a>(self)</dt><dd><tt>#&nbsp;Download&nbsp;file</tt></dd></dl>

<dl><dt><a name="Task-getMirrors"><strong>getMirrors</strong></a>(self)</dt><dd><tt>#&nbsp;Get&nbsp;rapidshare&nbsp;mirrors</tt></dd></dl>

<dl><dt><a name="Task-getSize"><strong>getSize</strong></a>(self)</dt><dd><tt>#&nbsp;Downloading&nbsp;header&nbsp;for&nbsp;file&nbsp;size&nbsp;(in&nbsp;bytes)</tt></dd></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TaskList">class <strong>TaskList</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Class&nbsp;for&nbsp;task&nbsp;list&nbsp;(list&nbsp;of&nbsp;files&nbsp;to&nbsp;download)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="TaskList-__init__"><strong>__init__</strong></a>(self, username, password, filename<font color="#909090">=None</font>)</dt><dd><tt>Create&nbsp;task&nbsp;list&nbsp;with&nbsp;username&nbsp;and&nbsp;password</tt></dd></dl>

<dl><dt><a name="TaskList-addTask"><strong>addTask</strong></a>(self, task)</dt><dd><tt>Add&nbsp;a&nbsp;new&nbsp;task</tt></dd></dl>

<dl><dt><a name="TaskList-deleteComplete"><strong>deleteComplete</strong></a>(self)</dt><dd><tt>Delete&nbsp;all&nbsp;completed&nbsp;tasks</tt></dd></dl>

<dl><dt><a name="TaskList-deleteTasks"><strong>deleteTasks</strong></a>(self, tasks)</dt><dd><tt>Delete&nbsp;a&nbsp;list&nbsp;of&nbsp;tasks</tt></dd></dl>

<dl><dt><a name="TaskList-downloadTasks"><strong>downloadTasks</strong></a>(self, tasks, threads)</dt><dd><tt>Start&nbsp;downloading&nbsp;selected&nbsp;tasks</tt></dd></dl>

<dl><dt><a name="TaskList-getTasks"><strong>getTasks</strong></a>(self, indecies)</dt><dd><tt>Get&nbsp;list&nbsp;of&nbsp;tasks&nbsp;from&nbsp;list&nbsp;of&nbsp;indecies</tt></dd></dl>

<dl><dt><a name="TaskList-load"><strong>load</strong></a>(self)</dt><dd><tt>Load&nbsp;tasklist&nbsp;from&nbsp;xml&nbsp;file</tt></dd></dl>

<dl><dt><a name="TaskList-moveTasksDown"><strong>moveTasksDown</strong></a>(self, tasks)</dt><dd><tt>Move&nbsp;a&nbsp;task&nbsp;down&nbsp;in&nbsp;list</tt></dd></dl>

<dl><dt><a name="TaskList-moveTasksUp"><strong>moveTasksUp</strong></a>(self, tasks)</dt><dd><tt>Move&nbsp;a&nbsp;task&nbsp;up&nbsp;in&nbsp;list</tt></dd></dl>

<dl><dt><a name="TaskList-save"><strong>save</strong></a>(self)</dt><dd><tt>Save&nbsp;tasklist&nbsp;to&nbsp;xml&nbsp;file</tt></dd></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-deleteCookie"><strong>deleteCookie</strong></a>(self)</dt><dd><tt>Delete&nbsp;authentication&nbsp;cookie</tt></dd></dl>
 <dl><dt><a name="-downloadCookie"><strong>downloadCookie</strong></a>(username, password)</dt><dd><tt>Downloading&nbsp;authentication&nbsp;cookie</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>__author__</strong> = 'Stefan Blanke (greenarrow) (greenarrow@users.sourceforge.net)'<br>
<strong>__credits__</strong> = ''<br>
<strong>__licence__</strong> = '<font color="#c040c0">\n</font>RSDL is free software: you can redistribute it ...DL.  If not, see &lt;http://www.gnu.org/licenses/&gt;.<font color="#c040c0">\n</font>'<br>
<strong>__license__</strong> = 'GPL 3.0'<br>
<strong>__version__</strong> = '0.4'<br>
<strong>cookiePath</strong> = '/home/stef/.rsdl/cookies.txt'<br>
<strong>homePath</strong> = '/home/stef'</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
    
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Stefan&nbsp;Blanke&nbsp;(greenarrow)&nbsp;(greenarrow@users.sourceforge.net)</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Credits</strong></big></font></td></tr>
    
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"></td></tr></table>
</body></html>